home *** CD-ROM | disk | FTP | other *** search
- //=--------------------------------------------------------------------------=
- // Invisible.ODL
- //=--------------------------------------------------------------------------=
- // Copyright 1995 Microsoft Corporation. All Rights Reserved.
- //
- // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
- // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
- // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
- // PARTICULAR PURPOSE.
- //=--------------------------------------------------------------------------=
- //
- // ODL file for the control(s) and automation object(s) in this inproc server
- //
- #include <olectl.h>
- #include "dispids.h"
-
- // can't include oaidl.h, so this will have to do
- //
- #define DISPID_NEWENUM -4
-
-
- //=--------------------------------------------------------------------------=
- // the libid for this type libray
- //
- [
- uuid(69d32740-21a5-11cf-9d53-00aa003c9cb6),
- helpstring("Invisible Control Library"),
- lcid(0x0000),
- version(1.0)
- ]
- library InvisibleObjects {
-
- // standard imports
- //
- importlib("STDOLE32.TLB");
- importlib(STDTYPE_TLB);
-
- // primary dispatch interface for CInvisible control
- //
- [
- uuid(6b120fe0-21a5-11cf-9d53-00aa003c9cb6),
- helpstring("Invisible Control"),
- hidden,
- dual,
- odl
- ]
- interface IInvisible : IDispatch {
-
- // properties
- //
- [id(DISPID_TIMEOUT), helpstring("Time, in seconds, between Time events"), propget]
- HRESULT TimeOut([out, retval] long *plTimeOut);
- [id(DISPID_TIMEOUT), propput]
- HRESULT TimeOut([in] long lTimeOut);
-
- // methods
- //
- [id(DISPID_ABOUTBOX)]
- void AboutBox(void);
- };
-
- // event interface for CInvisible controls ...
- //
- [
- uuid(6bc189c0-21a5-11cf-9d53-00aa003c9cb6),
- helpstring("Event interface for Invisible control"),
- hidden
- ]
- dispinterface DInvisibleEvents {
- properties:
- methods:
- [id(DISPIDE_TIME)]
- void Time(void);
- };
-
- // coclass for CInvisible controls
- //
- [
- uuid(6d113b40-21a5-11cf-9d53-00aa003c9cb6),
- helpstring("Invisible control")
- ]
- coclass Invisible {
- [default] interface IInvisible;
- [default, source] dispinterface DInvisibleEvents;
- };
- };
-
-
-